<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ include file="/WEB-INF/jsp/common/_includes.jsp" %>
<jsp:include page="/WEB-INF/jsp/common/_head.jsp"></jsp:include>
<div class="ui grid">
	<div class="row">
		<div class="column">
			<div class="ui two column grid">
				<div class="three wide column">
					<jsp:include page="/WEB-INF/jsp/common/_sidebar.jsp">
						<jsp:param name="index" value="4"/>
					</jsp:include>
				</div>
				<div id="container" class="thirteen wide column">
					<div class="alert alert-success w200 center-block text-center " style="display: none; " role="alert"></div>
					<ol class="breadcrumb">
						<li><a href="/">后台管理</a></li>
						<li><a href="/navigate">企业信息导航</a></li>
						<li class="active">录入数据</li>   
					</ol>
					<form class="form-horizontal" id="addForm" method="post" action="/navigate/add">
<%-- 						<input type="text" class="form-control" id="companyId" name="companyId" value="${id}"  >   --%>
<!-- 					    <input type="text" class="form-control" id="code" name="code" placeholder="内容分类">   -->
						<div class="form-group">    
							<label class="col-sm-3 control-label">企业Id</label>
							 <div class="col-sm-5 desc">
							     	 <select Class="form-control" id="js_parentId"   name="companyId">
										<option value="">请选择</option>
										<c:forEach items="${companyList}" begin="0" var="company">
											<option value="${company.id}">${company.name}</option>
										</c:forEach>
								    </select>
							 </div>
						</div>  
<!-- 						<div class="form-group">     -->
<!-- 							<label class="col-sm-3 control-label">内容分类</label> -->
<!-- 							<div class="col-sm-5 desc"> -->
<!-- 							  	<input type="text" class="form-control" id="code" name="code" placeholder="内容分类"> -->
<!-- 							</div> -->
<!-- 						</div> -->
						<div class="form-group">
							<label class="col-sm-3 control-label">导航名称</label>
							<div class="col-sm-5 desc">
								<input type="text" class="form-control" id="navName" name="navName" placeholder="导航名称">
							</div>
						</div>
                        
<!-- 						<div class="form-group"> -->
<!-- 							<label class="col-sm-3 control-label">导航路径</label> -->
<!-- 							<div class="col-sm-5 desc"> -->
<!-- 								<input type="text" class="form-control" id="pathUrl" name="pathUrl" placeholder="导航路径"> -->
<!-- 							</div> -->
<!-- 						</div> -->
						 
						<div class="form-group">
							<label class="col-sm-3 control-label">排序</label>
							<div class="col-sm-5 desc">
								<input type="text" class="form-control" id="priority" name="priority" placeholder="排序数字">
							</div>
						</div>
						
						<div class="form-group">
							<label class="col-sm-3 control-label">是否禁用</label>
							<div class="col-sm-5 desc">
								是:<input    type="radio"    value="1"    id="isDisable"  name="isDisable" >  &nbsp; &nbsp; &nbsp; &nbsp;  
								否:<input    type="radio"    value="0"    id="isDisable"  name="isDisable"  checked="checked">    
							</div>
						</div>
						
						<div class="form-group" id="js_submit">
							<div class="col-sm-offset-3 col-sm-2">
								<button type="submit" class="btn btn-success">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<jsp:include page="/WEB-INF/jsp/common/_foot.jsp"></jsp:include>
<script type="text/javascript" src="/static/vendor/jquery.validate/jquery.validate.js"></script>
<script type="text/javascript" src="/static/js/navigate/add.js"></script>
